Skip to content

Failed

Scenario: Start broker for all scenarios.Scenario: Start broker for all scenarios (from org.eclipse.kapua.service.device.integration.RunDeviceBrokerIpUndefinedI9nTest)

Failing for the past 3 builds (Since Unstable #1 )
Took 9.9 sec.

Stacktrace

java.lang.ExceptionInInitializerError
Caused by: org.eclipse.kapua.KapuaRuntimeException: An internal error occurred: Error while initializing org.eclipse.kapua.commons.event.ServiceEventBusManager.
Caused by: java.util.ServiceConfigurationError: org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated
Caused by: javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672
Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused

Standard Output

###############################################################################
# Copyright (c) 2017, 2018 Eurotech and/or its affiliates and others
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#     Eurotech - initial API and implementation
###############################################################################
@broker
Feature: Device Broker connection ip not set
  Device Service integration scenarios with running broker service.
10:46:07.797 [main] INFO  o.e.kapua.qa.steps.EmbeddedBroker - Starting new instance
10:46:07.856 [main] INFO  o.a.a.xbean.XBeanBrokerFactory$1 - Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@6292c63e: startup date [Thu Oct 04 10:46:07 EDT 2018]; root of context hierarchy
10:46:07.982 [main] INFO  o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [activemq.xml]
10:46:08.447 [main] INFO  o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [camel.xml]
10:46:09.595 [main] INFO  o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from URL [file:src/test/resources/credentials.properties]
10:46:09.757 [main] WARN  o.a.activemq.broker.BrokerService - Memory Usage for the Broker (6144mb) is more than the maximum available for the JVM: 910 mb - resetting to 70% of maximum available: 637 mb
10:46:09.758 [main] INFO  o.a.activemq.broker.BrokerService - Using Persistence Adapter: KahaDBPersistenceAdapter[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/activemq/vxf_6tDtRlidVFs3RVDg2Q/kahaDB]
10:46:10.323 [main] INFO  o.a.a.s.kahadb.plist.PListStoreImpl - PListStore:[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/./data/message-broker/tmp_storage] started
10:46:10.486 [main] INFO  o.e.k.b.c.KapuaBrokerSecurityPlugin - Installing Kapua broker plugin.
10:46:10.695 [main] INFO  o.eclipse.kapua.locator.KapuaLocator - initializing Servicelocator instance... 
10:46:10.695 [main] INFO  o.eclipse.kapua.locator.KapuaLocator - initialize Servicelocator with the default instance... 
10:46:11.774 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.account.AccountFactory to class org.eclipse.kapua.service.account.internal.AccountFactoryImpl
10:46:11.776 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.account.AccountService to class org.eclipse.kapua.service.account.internal.AccountServiceImpl
10:46:11.776 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.user.UserFactory to class org.eclipse.kapua.service.user.internal.UserFactoryImpl
10:46:11.777 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.user.UserService to class org.eclipse.kapua.service.user.internal.UserServiceImpl
10:46:11.777 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.AuthenticationService to class org.eclipse.kapua.service.authentication.shiro.AuthenticationServiceShiroImpl
10:46:11.778 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.CredentialsFactory to class org.eclipse.kapua.service.authentication.shiro.CredentialsFactoryImpl
10:46:11.779 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.credential.CredentialFactory to class org.eclipse.kapua.service.authentication.credential.shiro.CredentialFactoryImpl
10:46:11.779 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.credential.CredentialService to class org.eclipse.kapua.service.authentication.credential.shiro.CredentialServiceImpl
10:46:11.780 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.token.AccessTokenService to class org.eclipse.kapua.service.authentication.token.shiro.AccessTokenServiceImpl
10:46:11.780 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.token.AccessTokenFactory to class org.eclipse.kapua.service.authentication.token.shiro.AccessTokenFactoryImpl
10:46:11.781 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.AuthorizationService to class org.eclipse.kapua.service.authorization.shiro.AuthorizationServiceImpl
10:46:11.782 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.permission.PermissionFactory to class org.eclipse.kapua.service.authorization.permission.shiro.PermissionFactoryImpl
10:46:11.782 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessInfoFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessInfoFactoryImpl
10:46:11.783 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessInfoService to class org.eclipse.kapua.service.authorization.access.shiro.AccessInfoServiceImpl
10:46:11.783 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessPermissionFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessPermissionFactoryImpl
10:46:11.784 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessPermissionService to class org.eclipse.kapua.service.authorization.access.shiro.AccessPermissionServiceImpl
10:46:11.784 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessRoleFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessRoleFactoryImpl
10:46:11.785 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessRoleService to class org.eclipse.kapua.service.authorization.access.shiro.AccessRoleServiceImpl
10:46:11.786 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.domain.DomainFactory to class org.eclipse.kapua.service.authorization.domain.shiro.DomainFactoryImpl
10:46:11.786 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.domain.DomainRegistryService to class org.eclipse.kapua.service.authorization.domain.shiro.DomainRegistryServiceImpl
10:46:11.787 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.group.GroupFactory to class org.eclipse.kapua.service.authorization.group.shiro.GroupFactoryImpl
10:46:11.787 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.group.GroupService to class org.eclipse.kapua.service.authorization.group.shiro.GroupServiceImpl
10:46:11.788 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.role.RoleService to class org.eclipse.kapua.service.authorization.role.shiro.RoleServiceImpl
10:46:11.789 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.role.RoleFactory to class org.eclipse.kapua.service.authorization.role.shiro.RoleFactoryImpl
10:46:11.789 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.role.RolePermissionFactory to class org.eclipse.kapua.service.authorization.role.shiro.RolePermissionFactoryImpl
10:46:11.790 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.role.RolePermissionService to class org.eclipse.kapua.service.authorization.role.shiro.RolePermissionServiceImpl
10:46:11.790 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.certificate.CertificateService to class org.eclipse.kapua.service.certificate.internal.CertificateServiceImpl
10:46:11.791 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.certificate.CertificateFactory to class org.eclipse.kapua.service.certificate.internal.CertificateFactoryImpl
10:46:11.791 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.MessageStoreService to class org.eclipse.kapua.service.datastore.internal.MessageStoreServiceImpl
10:46:11.792 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.ClientInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.ClientInfoRegistryServiceImpl
10:46:11.792 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.ChannelInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.ChannelInfoRegistryServiceImpl
10:46:11.792 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.MetricInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.MetricInfoRegistryServiceImpl
10:46:11.793 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.config.metatype.KapuaMetatypeFactory to class org.eclipse.kapua.commons.configuration.metatype.KapuaMetatypeFactoryImpl
10:46:11.793 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.datastore.DatastoreObjectFactory to class org.eclipse.kapua.service.datastore.internal.DatastoreObjectFactoryImpl
10:46:11.794 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.datastore.model.query.StorablePredicateFactory to class org.eclipse.kapua.service.datastore.internal.model.query.StorablePredicateFactoryImpl
10:46:11.794 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.DeviceFactory to class org.eclipse.kapua.service.device.registry.internal.DeviceFactoryImpl
10:46:11.795 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.DeviceRegistryService to class org.eclipse.kapua.service.device.registry.internal.DeviceRegistryServiceImpl
10:46:11.795 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.connection.DeviceConnectionFactory to class org.eclipse.kapua.service.device.registry.connection.internal.DeviceConnectionFactoryImpl
10:46:11.796 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.connection.DeviceConnectionService to class org.eclipse.kapua.service.device.registry.connection.internal.DeviceConnectionServiceImpl
10:46:11.796 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.connection.option.DeviceConnectionOptionFactory to class org.eclipse.kapua.service.device.registry.connection.option.internal.DeviceConnectionOptionFactoryImpl
10:46:11.797 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.connection.option.DeviceConnectionOptionService to class org.eclipse.kapua.service.device.registry.connection.option.internal.DeviceConnectionOptionServiceImpl
10:46:11.797 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.event.DeviceEventFactory to class org.eclipse.kapua.service.device.registry.event.internal.DeviceEventFactoryImpl
10:46:11.798 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.event.DeviceEventService to class org.eclipse.kapua.service.device.registry.event.internal.DeviceEventServiceImpl
10:46:11.798 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.lifecycle.DeviceLifeCycleService to class org.eclipse.kapua.service.device.registry.lifecycle.internal.DeviceLifeCycleServiceImpl
10:46:11.799 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.call.DeviceCallFactory to class org.eclipse.kapua.service.device.call.kura.KuraDeviceCallFactoryImpl
10:46:11.799 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.call.DeviceMessageFactory to class org.eclipse.kapua.service.device.call.kura.KuraMessageFactoryImpl
10:46:11.799 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.message.KapuaRequestMessageFactory to class org.eclipse.kapua.service.device.management.commons.message.KapuaRequestMessageFactoryImpl
10:46:11.800 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.request.GenericRequestFactory to class org.eclipse.kapua.service.device.management.request.internal.GenericRequestFactoryImpl
10:46:11.800 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.bundle.DeviceBundleManagementService to class org.eclipse.kapua.service.device.management.bundle.internal.DeviceBundleManagementServiceImpl
10:46:11.801 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.bundle.DeviceBundleFactory to class org.eclipse.kapua.service.device.management.bundle.internal.DeviceBundleFactoryImpl
10:46:11.801 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.command.DeviceCommandManagementService to class org.eclipse.kapua.service.device.management.command.internal.DeviceCommandManagementServiceImpl
10:46:11.802 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.command.DeviceCommandFactory to class org.eclipse.kapua.service.device.management.command.internal.DeviceCommandFactoryImpl
10:46:11.802 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.configuration.DeviceConfigurationManagementService to class org.eclipse.kapua.service.device.management.configuration.internal.DeviceConfigurationManagementServiceImpl
10:46:11.803 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.configuration.DeviceConfigurationFactory to class org.eclipse.kapua.service.device.management.configuration.internal.DeviceConfigurationFactoryImpl
10:46:11.803 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.packages.DevicePackageManagementService to class org.eclipse.kapua.service.device.management.packages.internal.DevicePackageManagementServiceImpl
10:46:11.804 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.packages.DevicePackageFactory to class org.eclipse.kapua.service.device.management.packages.internal.DevicePackageFactoryImpl
10:46:11.804 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.snapshot.DeviceSnapshotManagementService to class org.eclipse.kapua.service.device.management.snapshot.internal.DeviceSnapshotManagementServiceImpl
10:46:11.805 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.snapshot.DeviceSnapshotFactory to class org.eclipse.kapua.service.device.management.snapshot.internal.DeviceSnapshotFactoryImpl
10:46:11.805 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.request.DeviceRequestManagementService to class org.eclipse.kapua.service.device.management.request.internal.DeviceRequestManagementServiceImpl
10:46:11.806 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.tag.TagFactory to class org.eclipse.kapua.service.tag.internal.TagFactoryImpl
10:46:11.806 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.tag.TagService to class org.eclipse.kapua.service.tag.internal.TagServiceImpl
10:46:11.807 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.user.UserFactory to class org.eclipse.kapua.service.user.internal.UserFactoryImpl
10:46:11.807 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.user.UserService to class org.eclipse.kapua.service.user.internal.UserServiceImpl
10:46:11.807 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.stream.StreamService to class org.eclipse.kapua.service.stream.internal.StreamServiceImpl
10:46:11.808 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.transport.TransportClientFactory to class org.eclipse.kapua.transport.mqtt.MqttClientFactoryImpl
10:46:11.808 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.message.KapuaMessageFactory to class org.eclipse.kapua.message.internal.KapuaMessageFactoryImpl
10:46:11.809 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.config.metatype.KapuaMetatypeFactory to class org.eclipse.kapua.commons.configuration.metatype.KapuaMetatypeFactoryImpl
10:46:11.809 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.id.KapuaIdFactory to class org.eclipse.kapua.commons.model.id.KapuaIdFactoryImpl
10:46:11.810 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.commons.service.event.store.api.EventStoreFactory to class org.eclipse.kapua.commons.service.event.store.internal.EventStoreFactoryImpl
10:46:11.810 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Binding interceptors ..
10:46:11.814 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Bind service interceptor class org.eclipse.kapua.commons.event.RaiseServiceEventInterceptor to subclasses of interface org.eclipse.kapua.service.KapuaService annotated with interface org.eclipse.kapua.event.RaiseServiceEvent
10:46:11.815 [main] INFO  o.e.kapua.locator.guice.KapuaModule - Binding service modules ..
10:46:12.165 [main] INFO  o.eclipse.kapua.locator.KapuaLocator - initialize Servicelocator with the default instance... DONE
10:46:13.490 [main] INFO  o.a.s.c.IniSecurityManagerFactory - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur.
10:46:13.501 [main] INFO  o.e.k.s.a.s.AuthenticationServiceShiroImpl - Shiro global session timeout set to indefinite.
10:46:13.501 [main] INFO  o.e.k.s.a.s.AuthenticationServiceShiroImpl - Shiro global session validator scheduler disabled.
10:46:13.524 [main] INFO  o.a.a.p.DiscardingDLQBrokerPlugin - Installing Discarding Dead Letter Queue broker plugin[dropAll=true; dropTemporaryTopics=true; dropTemporaryQueues=true; dropOnly=null; reportInterval=1000]
10:46:13.536 [main] INFO  o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-58005-1538664370342-0:1) is starting
10:46:13.536 [main] INFO  o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start...
10:46:13.536 [main] INFO  o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize jaxb context
10:46:13.537 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance...
10:46:13.545 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.BrokerJAXBContextProvider ...
10:46:13.546 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE
10:46:13.546 [main] INFO  o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize authenticator
10:46:13.548 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance...
10:46:13.548 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.authentication.DefaultAuthenticator ...
10:46:13.611 [main] INFO  o.e.k.b.c.p.a.DefaultAuthenticator - >>> Security broker filter: calling start... Initialize system message creator
10:46:13.612 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance...
10:46:13.612 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.message.system.DefaultSystemMessageCreator ...
10:46:13.612 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE
10:46:13.612 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE
10:46:13.612 [main] INFO  o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker ip resolver
10:46:13.613 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance...
10:46:13.613 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIpResolver ...
10:46:13.613 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE
10:46:13.613 [main] INFO  o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker id resolver
10:46:13.614 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance...
10:46:13.614 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIdResolver ...
10:46:13.614 [main] INFO  o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE
10:46:13.614 [main] INFO  o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize stealing link manager...
10:46:13.651 [main] INFO  o.a.a.t.TransportServerThreadSupport - Listening for connections at: mqtt+nio://hipp9:1883?transport.maximumConnections=1000&transport.socketBufferSize=131072&transport.ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions
10:46:13.651 [main] INFO  o.a.a.broker.TransportConnector - Connector mqtt started
10:46:13.657 [main] INFO  o.a.a.t.TransportServerThreadSupport - Listening for connections at: mqtt+nio+ssl://hipp9:8883?transport.maximumConnections=1000&transport.socketBufferSize=131072&transport.ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions
10:46:13.657 [main] INFO  o.a.a.broker.TransportConnector - Connector mqtts started
10:46:13.658 [main] INFO  o.a.a.t.TransportServerThreadSupport - Listening for connections at: tcp://hipp9:61616?transport.maximumConnections=1000&transport.socketBufferSize=131072&ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions
10:46:13.659 [main] INFO  o.a.a.broker.TransportConnector - Connector tcp started
10:46:13.663 [main] INFO  o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-58005-1538664370342-0:1) started
10:46:13.663 [main] INFO  o.a.activemq.broker.BrokerService - For help or more information please see: http://activemq.apache.org
10:46:13.665 [pool-1-thread-1] INFO  o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager...
10:46:13.670 [pool-1-thread-1] INFO  o.e.k.b.c.pool.JmsConnectionFactory - Instantiate amq embedded connection factory...
10:46:13.671 [pool-1-thread-1] INFO  o.e.k.b.c.pool.JmsConnectionFactory - Using connection factory url: vm://message-broker?create=false&waitForStart=3600000&async=true
10:46:13.690 [pool-1-thread-1] INFO  o.e.k.b.c.pool.JmsConnectionFactory - Instantiate activemq embedded connection factory... done
10:46:13.697 [pool-1-thread-1] INFO  o.a.a.broker.TransportConnector - Connector vm://message-broker started
10:46:13.824 [pool-1-thread-1] INFO  o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... DONE
10:46:14.155 [main] INFO  o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration from file /jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/test-classes/camel-routes.xml
10:46:15.404 [main] INFO  o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration from file camel-routes.xml Found 2 parent endpoints in the route
10:46:15.405 [main] INFO  o.e.k.b.c.r.CamelKapuaDefaultRouter - 
Regex: ^\$EDC\..*
	Regex: ^\$EDC\.(.*\.){2}MQTT\.BIRTH
		End point: bean:kapuaLifeCycleConverter?method=convertToBirth,bean:deviceMessageListener?method=processBirthMessage
	Regex: ^\$EDC\.(.*\.){2}MQTT\.DC
		End point: bean:kapuaLifeCycleConverter?method=convertToDisconnect,bean:deviceMessageListener?method=processDisconnectMessage
	Regex: ^\$EDC\.(.*\.){2}MQTT\.APPS
		End point: bean:kapuaLifeCycleConverter?method=convertToApps,bean:deviceMessageListener?method=processAppsMessage
	Regex: ^\$EDC\.(.*\.){2}MQTT\.LWT
		End point: bean:kapuaLifeCycleConverter?method=convertToMissing,bean:deviceMessageListener?method=processMissingMessage
	Regex: ^\$EDC\.(.*\.){2}MQTT\.NOTIFY
		End point: bean:kapuaLifeCycleConverter?method=convertToNotify,bean:deviceMessageListener?method=processNotifyMessage
	End chain
Regex: .*
	End point: bean:kapuaDataConverter?method=convertToData,bean:dataStorageMessageProcessor?method=processMessage
10:46:15.405 [main] INFO  o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration 'camel-routes.xml' from file '/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/test-classes/camel-routes.xml' DONE
10:46:15.954 [main] INFO  o.e.k.s.d.c.rest.RestDatastoreClient - Starting Elasticsearch rest client...
10:46:15.956 [main] INFO  o.e.k.s.d.c.r.EsRestClientProvider - >>> Initializing ES rest client...
10:46:15.980 [main] INFO  o.e.k.s.d.c.r.EsRestClientProvider - ES Rest Client - SSL NOT enabled
10:46:16.300 [main] INFO  o.e.k.s.d.c.r.EsRestClientProvider - >>> Initializing ES rest client... DONE
10:46:16.300 [main] INFO  o.e.k.s.d.c.rest.RestDatastoreClient - Starting Elasticsearch rest client... DONE
10:46:16.385 [main] INFO  o.a.c.i.c.DefaultTypeConverter - Loaded 186 type converters
10:46:16.411 [main] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) is starting
10:46:16.413 [main] INFO  o.a.c.m.ManagedManagementStrategy - JMX is enabled
10:46:16.578 [main] INFO  o.a.c.i.DefaultRuntimeEndpointRegistry - Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
10:46:16.799 [main] INFO  o.a.camel.spring.SpringCamelContext - AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
10:46:16.799 [main] INFO  o.a.camel.spring.SpringCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
10:46:16.923 [main] INFO  o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-58005-1538664370342-4:1,clientId=null,started=false}
10:46:16.933 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: mainKapuaRoute started and consuming from: Endpoint[activemq://queue:Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=20&maxConcurrentConsumers=50&transacted=false]
10:46:16.935 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: dataMessageCommunicationErrorRoute started and consuming from: Endpoint[activemq://queue:storeCommunicationException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false]
10:46:16.937 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: dataMessageConfigurationErrorRoute started and consuming from: Endpoint[activemq://queue:storeConfigurationException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false]
10:46:16.938 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: dataMessageGenericErrorRoute started and consuming from: Endpoint[activemq://queue:storeGenericException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false]
10:46:16.941 [main] INFO  o.a.camel.spring.SpringCamelContext - Route: notProcessableMessage started and consuming from: Endpoint[activemq://queue:notProcessableMessage?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false]
10:46:16.942 [main] INFO  o.a.camel.spring.SpringCamelContext - Total 5 routes, of which 5 is started.
10:46:16.946 [main] INFO  o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) started in 0.532 seconds
10:46:16.950 [main] INFO  o.e.kapua.qa.steps.EmbeddedBroker - Setting ActiveMQ data directory to target/activemq/vxf_6tDtRlidVFs3RVDg2Q/data/message-broker
10:46:16.951 [main] INFO  o.e.k.c.event.ServiceEventBusManager - Finding event bus driver instance...
10:46:17.404 [main] ERROR org.apache.qpid.jms.JmsConnection - Failed to connect to remote at: amqp://127.0.0.1:5672
10:46:17.413 [main] ERROR o.e.k.c.event.jms.JMSServiceEventBus - syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672
javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672
	at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86)
	at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108)
	at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:168)
	at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:204)
	at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus$EventBusJMSConnectionBridge.<init>(JMSServiceEventBus.java:236)
	at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus.<init>(JMSServiceEventBus.java:86)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
	at org.eclipse.kapua.commons.event.ServiceEventBusManager.<clinit>(ServiceEventBusManager.java:43)
	at org.eclipse.kapua.qa.steps.EmbeddedBroker.start(EmbeddedBroker.java:90)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:37)
	at cucumber.runtime.Timeout.timeout(Timeout.java:13)
	at cucumber.runtime.Utils.invoke(Utils.java:31)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223)
	at cucumber.runtime.Runtime.runHooks(Runtime.java:211)
	at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201)
	at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40)
	at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at cucumber.api.junit.Cucumber.run(Cucumber.java:98)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672
	at io.netty.channel.unix.Socket.finishConnect(..)(Unknown Source)
Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused
	... 1 common frames omitted
10:46:17.413 [main] ERROR o.e.k.c.event.ServiceEventBusManager - Error while initializing org.eclipse.kapua.commons.event.ServiceEventBusManager, org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated
java.util.ServiceConfigurationError: org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated
	at java.util.ServiceLoader.fail(ServiceLoader.java:232)
	at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
	at org.eclipse.kapua.commons.event.ServiceEventBusManager.<clinit>(ServiceEventBusManager.java:43)
	at org.eclipse.kapua.qa.steps.EmbeddedBroker.start(EmbeddedBroker.java:90)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:37)
	at cucumber.runtime.Timeout.timeout(Timeout.java:13)
	at cucumber.runtime.Utils.invoke(Utils.java:31)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223)
	at cucumber.runtime.Runtime.runHooks(Runtime.java:211)
	at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201)
	at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40)
	at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at cucumber.api.junit.Cucumber.run(Cucumber.java:98)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
Caused by: javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672
	at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86)
	at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108)
	at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:168)
	at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:204)
	at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus$EventBusJMSConnectionBridge.<init>(JMSServiceEventBus.java:236)
	at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus.<init>(JMSServiceEventBus.java:86)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
	... 42 common frames omitted
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672
	at io.netty.channel.unix.Socket.finishConnect(..)(Unknown Source)
Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused
	... 1 common frames omitted

Standard Error

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hudson/genie.kapua/.jenkins/jobs/release-1.0.x-build/workspace/.repository/ch/qos/logback/logback-classic/1.1.8/logback-classic-1.1.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/hudson/genie.kapua/.jenkins/jobs/release-1.0.x-build/workspace/.repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]